#-*-encoding=utf-8-*-
name=u'return'
title=u'收回表'
description=u'None'
fields=(
    ReferenceField(
        title=u'需要收回的文档',
        default_value_exp=u'[]',
        name=u'doc'
),
    TextField(
        rows=5,
        title=u'说明',
        cols=10,
        write_condition=u'',
        default_value_exp=u'""',
        name=u'description'
),
    PersonSelectField(
        title=u'收回的人员',
        multiple_selection=True,
        selectable_object='persononly',
        default_value_exp=u"sheet is not None and IFieldStorage(intids.getObject(sheet['doc'][0])).get('isodoc_holders' , []) or []",
        name=u'persons'
),)

fields_validation_script=ur""""""
